package polsense.filemerger;
import de.vdheide.mp3.FrameDamagedException;
import de.vdheide.mp3.MP3File;
import de.vdheide.mp3.TagContent;

/* MP3Strings.java
 * Created on Oct 8, 2005
 * Copyright 2005 Pablo J. Lopez
 */

/**
 * @author Pablo J. Lopez
 */
public class MP3Strings {
  public static String getShortDesc(MP3File file){
	  StringBuffer g = new StringBuffer();
	try {
		
		g.append(" ");
		TagContent title = file.getTitle();
		g.append(title.getTextContent());
		g.append(" @ ");
		g.append(file.getAlbum().getTextContent());
		g.append(" ** ");
		g.append(file.getArtist().getTextContent());
			} catch (FrameDamagedException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
	  return g.toString();
	  
	  
  }
}
